﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace NGDTConsole.Utility
{
    public abstract class FileManager
    {
        //read values of positions or other data in specified file type. Supported type are csv, txt, ngdt, xml
        protected StreamReader reader;
        protected StreamWriter writer;
        protected string content;

        public abstract void ReadFile(string path);

        public abstract void SaveFile(string path);

        public abstract void WriteToFile(Stream stream);

        public abstract void ParseReadContent(string content);

        public abstract void Close();
    }
}
